package tech.yangzhijie.basic.thread;

import java.util.concurrent.Callable;

public class ResultCallable implements Callable<String> {

    private int id;

    public ResultCallable(){

    }

    public ResultCallable(int id) {
        this.id = id;
    }

    @Override
    public String call(){
        return "返回 id="+id;
    }
}
